package com.net.redis_plus.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.net.redis_plus.pojo.AdminUserPo;
import com.net.redis_plus.pojo.ConditionEx;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface AdminUserPoMapper extends BaseMapper<AdminUserPo> {

    List<AdminUserPo> findListByMyself();

    List<AdminUserPo> searchMy(@Param("map") Map<String, Object> reqBody);

    List<AdminUserPo> searchCondition(@Param("list") List<ConditionEx> conditionExes);
}
